package com.pwt.repository;

import com.pwt.repository.base.BaseRepository;
import com.pwt.entity.AcceptanceHand;
import org.springframework.data.jpa.repository.Query;

/**
 * AcceptanceHand Repository层
 *
 * @author auto generated
 * @date 2021-09-29 14:52:53
 */
public interface AcceptanceHandRepository extends BaseRepository<AcceptanceHand, String> {

    @Query(nativeQuery = true,value = "select * from acceptance_hand where teil=?1  and merkmal=?2 ")
    public AcceptanceHand getAcceptanceHandByTeilAndMerkmal(Integer k1000,Short k2000);

}
